<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="head.html"/>
</head>
<body>
	<div id="head"><h1>KRS</h1></div>
	<jsp:include page="menu.jsp"/>
	<div id="content">
		<h2><c:out value="${title}"/></h2>
		<p><c:out value="${message}"/></p>
		<form method="post" action="SaveReservierungNow.s">
			<table class="editing">
				<colgroup>
					<col class="attribute"/>
					<col class="value"/>
				</colgroup>
				<tbody>
					<tr>
						<td>Name:</td>
						<td>
							<input type="hidden" name="kundeId" value='<c:out value="${kunde.id}"/>'/>
							<input type="hidden" name="eventId" value='<c:out value="${eventId}"/>'/>
							<input type="text" name="name" value='<c:out value="${kunde.name}"/>' size="30" />
						</td>						
					</tr>
					<tr>
						<td>Vorname:</td>
						<td>
							<input type="text" name="vorname" value='<c:out value="${kunde.vorname}"/>' size="30" />
						</td>						
					</tr>
					<tr>
						<td>Strasse:</td>
						<td>
							<input type="text" name="strasse" value='<c:out value="${kunde.strasse}"/>' size="40" />
						</td>						
					</tr>
					<tr>
						<td>PLZ:</td>
						<td>
							<input type="text" name="plz" value='<c:out value="${kunde.plz}"/>' size="5" />
						</td>						
					</tr>
					<tr>
						<td>Ort:</td>
						<td>
							<input type="text" name="ort" value='<c:out value="${kunde.ort}"/>' size="20" />
						</td>						
					</tr>
					<tr>
						<td>Telefon:</td>
						<td>
							<input type="text" name="tel" value='<c:out value="${kunde.tel}"/>' size="10" />
						</td>						
					</tr>
					<tr>
						<td>Email:</td>
						<td>
							<input type="text" name="email" value='<c:out value="${kunde.email}"/>' size="30" />
						</td>						
					</tr>
					<tr>
						<td>Kontonummer:</td>
						<td>
							<input type="text" name="kto" value='<c:out value="${kunde.kto}"/>' size="10" />
						</td>						
					</tr>
					<tr>
						<td>Bankleitzahl:</td>
						<td>
							<input type="text" name="blz" value='<c:out value="${kunde.blz}"/>' size="10" />
						</td>						
					</tr>
					<tr>
						<td>Bank:</td>
						<td>
							<input type="text" name="bank" value='<c:out value="${kunde.bank}"/>' size="30" />
						</td>						
					</tr>
					<tr>
						<td>Anzahl Plätze Loge:</td>
						<td>
							<input type="text" name="res_plaetze_loge" value='<c:out value="${reservierung.res_plaetze_loge}"/>' size="3" />
							frei: <c:out value="${event.plaetze_loge}"/>
						</td>						
					</tr>
					<tr>
						<td>Anzahl Plätze Regulär:</td>
						<td>
							<input type="text" name="res_plaetze_reg" value='<c:out value="${reservierung.res_plaetze_reg}"/>' size="3" />
						frei: <c:out value="${event.plaetze_reg}"/>
						</td>						
					</tr>
					<tr class="submit">
						<td colspan="2">
								<input type="submit" value=" Reservierung verbindlich buchen "/>
						</td>
					</tr>
				</tbody>
			</table>
		</form>
	</div>
</body>
</html>  